package com.gopay.common.domain.cashier;

import java.math.BigDecimal;

import com.gopay.common.domain.BaseEntity;

/**
 * 收银台支付完成结果bean
 * 
 * @PayDoneResult.java
 * @author zhanglei
 * @2013-1-14 下午4:47:22 www.gopay.com.cn Inc.All rights reserved.
 */
public class PayDoneResult extends BaseEntity {
    private static final long serialVersionUID = 154690983599630241L;
    /** 每个通知的唯一标志 */
    private String id;
    /** 支付是否成功 */
    private boolean success;
    /** 支付方式 */
    private PayWay payWay;
    /** 国付宝订单号 */
    private String orderId;
    /** 信息描述 */
    private String retMsg;
    /** 金额 NOT NULL!! */
    private BigDecimal amt;
    /** 缓存数据生存期内银行通知次数 */
    private int notifyNum;
    /** 支付卡类型 */
    private BankCardType cardType;
    /** 支付卡方式 */
    private String payType;
    
    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public PayWay getPayWay() {
        return payWay;
    }

    public void setPayWay(PayWay payWay) {
        this.payWay = payWay;
    }

    public String getRetMsg() {
        return retMsg;
    }

    public void setRetMsg(String retMsg) {
        this.retMsg = retMsg;
    }

    public BigDecimal getAmt() {
        return amt;
    }

    public void setAmt(BigDecimal amt) {
        this.amt = amt;
    }

    public int getNotifyNum() {
        return notifyNum;
    }

    public void setNotifyNum(int notifyNum) {
        this.notifyNum = notifyNum;
    }

    public BankCardType getCardType() {
        return cardType;
    }

    public void setCardType(BankCardType cardType) {
        this.cardType = cardType;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

}
